package com.ruoyi.project.module.feeset.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 会员套餐管理对象 tb_feeset
 * 
 * @author javen
 * @date 2020-12-26
 */
public class Feeset extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 套餐名称 */
    @Excel(name = "套餐名称")
    private String name;

    /** 套餐类型 */
    @Excel(name = "套餐类型")
    private String feesetType;

    /** 套餐单价 */
    @Excel(name = "套餐单价")
    private BigDecimal currentPrice;

    /** 套餐原价 */
    @Excel(name = "套餐原价")
    private BigDecimal originalPrice;

    /** 有效期(月) */
    @Excel(name = "有效期(月)")
    private Integer validity;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setFeesetType(String feesetType)
    {
        this.feesetType = feesetType;
    }

    public String getFeesetType()
    {
        return feesetType;
    }
    public void setCurrentPrice(BigDecimal currentPrice)
    {
        this.currentPrice = currentPrice;
    }

    public BigDecimal getCurrentPrice()
    {
        return currentPrice;
    }
    public void setOriginalPrice(BigDecimal originalPrice)
    {
        this.originalPrice = originalPrice;
    }

    public BigDecimal getOriginalPrice()
    {
        return originalPrice;
    }
    public void setValidity(Integer validity)
    {
        this.validity = validity;
    }

    public Integer getValidity()
    {
        return validity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("feesetType", getFeesetType())
            .append("currentPrice", getCurrentPrice())
            .append("originalPrice", getOriginalPrice())
            .append("validity", getValidity())
            .toString();
    }
}
